home *** CD-ROM | disk | FTP | other *** search
/ Online Today 2002 April / OTODAY042002.ISO / pc / progwin / lighths.swf / scripts / DefineButton2_839 / BUTTONCONDACTION on(release).as < prev   
Encoding:
Text File  |  2001-08-13  |  498 b   |  16 lines

  1. on(release){
  2.    stopDrag();
  3.    nummer = 1;
  4.    while(nummer < 7)
  5.    {
  6.       if(_root.AND3.hitTest(eval("_root.Platzhalter" add nummer)) and eval("_root:modul" add nummer) eq "none")
  7.       {
  8.          setProperty("_root.AND3", _X, getProperty(eval("_root.Platzhalter" add nummer), _X));
  9.          setProperty("_root.AND3", _Y, getProperty(eval("_root.Platzhalter" add nummer), _Y));
  10.          set("_root:modul" add nummer,"AND");
  11.          current = nummer;
  12.       }
  13.       nummer++;
  14.    }
  15. }
  16.